@import

"../base/mixin",
"../base/variable";

//clearfix
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}

html,body{
  height: 100%;
}
body{
  background: #f0f0f0;
}
img {
  max-width: 100%;
  vertical-align: middle;
  -ms-interpolation-mode: bicubic;
}
.isno{
  display: none;
}
.addr-change{
  display: -webkit-box;
  -webkit-box-pack: center;
  -webkit-box-align: center;
  box-sizing: border-box;
  a{
    font-size: 14px;
    color: #333;
  }
}

.nav-icon-bg{
  width: 43px;
  height: 43px;
  display: inline-block;
  background: #44A3FF;
  border-radius: 100%;
  color: #fff;
  position: relative;
}
.nav-text{
  display: block;
  text-align: center;
  font-size: 12px;
  color: #333;
}
.main-nav{
  margin: 10px auto;
  padding: 15px 0;
  background: #FFF;
  .ui-icon{
    color: #fff;
  }
}
.nav-icon{
  display: inline-block;
  height: 26px;
  width: 26px;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -13px;
  margin-top: -13px;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: contain;
  background-size: contain;
}
.menpiao-icon{
  background-image: url("../img/iconfont-menpiao.svg");
}
.zhuangbei-icon{
  background-image: url("../img/iconfont-huaxue.svg");
}
.huodong-icon{
  background-image: url("../img/iconfont-huodong.svg");

}
.shiping-icon{
  background-image: url("../img/iconfont-shipin.svg");
}
.xuexiao-icon{
  background-image: url("../img/iconfont-xueyuanxuexiao.svg");
}
.jiqiao-icon{
  background-image: url("../img/iconfont-huwaib.svg");
}
.shequ-icon{
  background-image: url("../img/iconfont-shequ.svg");
}
.ertong-icon{
  background-image: url("../img/iconfont-ertongpiao.svg");
}
.huaban-icon{
  background-image: url("../img/iconfont-huaban.svg");
}
.huafu-icon{
  background-image: url("../img/iconfont-yi.svg");
}
.huayanjing-icon{
  background-image: url("../img/iconfont-yanjing.svg");
}
.huahu-icon{
  background-image: url("../img/iconfont-baohu.svg");
}
.jinggao-icon{
  background-image: url("../img/iconfont-09019.svg");
}

.grid-nav-1{
  margin-bottom: 15px;

  li{
    &:nth-child(2){
      .nav-icon-bg{
        background: #84D702;
      }
    }
    &:nth-child(3){
      .nav-icon-bg{
        background: #FF4500;
      }
    }
    &:nth-child(4){
      .nav-icon-bg{
        background: #5297DF;
      }
    }
  }
}
.grid-nav-2{

  li{
    &:nth-child(1){
      .nav-icon-bg{
        background: #8B49FF;
      }
    }
    &:nth-child(2){
      .nav-icon-bg{
        background: #00D69A;
      }
    }
    &:nth-child(3){
      .nav-icon-bg{
        background: #FFB224;
      }
    }
    &:nth-child(4){
      .nav-icon-bg{
        background: #FF0C4D;
      }
    }
  }
}

.img-nav{
  background: #FFF;
  margin-bottom: 10px;

  ul{
    overflow: hidden;
    padding: 5px 0;
  }
  li{
    width: 50%;
    float: left;
    //background: #3d98ff;

    &:nth-child(1){
      //background: #ff697a;
    }
    &:nth-child(2){
      //background: #3d98ff;
    }
    &:nth-child(3){
      //background: #44c522;
    }
    a{
      color: #FFF;
    }
  }
}
.img-nav-2{
  li{
    &:nth-child(1){
      //background: #fc9720;
    }
    &:nth-child(2){
      //background: #5197e0;
    }
    &:nth-child(3){
      //background: #D415EE;
    }
  }
}
.ui-price{
  display: inline-block;
  padding-left: 50px;
}

.list-box{
  background: #FFF;
}
.list-hd{
  position: relative;
  padding: 10px 10px 0;
  line-height: 22px;

  h3{
    display: inline-block;
    font-size: 14px;
  }
  a{
    width: 100%;
    font-size: 12px;
    position: absolute;
    left: 0;
    top: 10px;
    display: block;
    text-align: right;
    span{
      display: inline-block;
      margin-right: 10px;
    }
  }
}
.list-bd{
  padding: 10px 0 0;
}
#footer{
  background: #FFF;
  padding: 15px 0 20px;
  text-align: center;
  font-size: 12px;
  color: #777;
  margin: 10px auto 0;
}

.search-bar{
  padding-top: 45px;
}
.go-home{
  position: absolute;
  display: inline-block;
  right: 10px;
  top: 0;
}

.list-conts{
  li:after{
    display: none;
  }
  .ui-label-list{
    margin: 0;
  }
  .list-other{
    position: relative;
    line-height: 27px;
  }
  .ui-price{
    position: absolute;
    right: 0;
    top: 0;
    em{
      display: inline-block;
      font-size: 18px;
      margin-right: 5px;
    }
  }
  .topic-icon{
    position: absolute;
    top: 0;
    left: -5px;
    font-size: 12px;
    padding: 0 10px 0 15px;
    color: #fff;
    background: rgba(239, 75, 57,.9);
    -webkit-transform: skew(-20deg);
    -moz-transform: skew(-20deg);
    -o-transform: skew(-20deg);
    border-radius: 0 0 5px 0;
    &.cu-bg{
      background: rgba(158, 217, 105, .9);
    }
    &.zs-bg{
      background: rgba(139, 73, 255, .9);
    }
    &.ls-bg{
      background: rgba(0, 214, 154, .9);
    }
    &.hs-bg{
      background: rgba(255, 178, 36, .9);
    }
  }
}
.detail-banner{
  margin-top: 45px;
  position: relative;
  overflow: hidden;
  text-align: center;

  h3{
    background: rgba(0, 0, 0, .5);
    color: #FFF;
    font-size: 14px;
    width: 100%;
    line-height: 30px;
    position: absolute;
    left: 0;
    bottom: 0;
    padding-left: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
}
.detail-infor{
  padding-bottom: 60px;
}
.detail-top{
  background: #FFF;
  margin-bottom: 10px;
  padding: 10px 0;
  h2{
    padding: 10px;
  }
}
.detail-price{
  padding: 0 10px 10px 10px;
  em{
    display: inline-block;
    font-size: 18px;
  }
  del{
    display: inline-block;
    color: #999;
    margin-left: 16px;
    font-size: 12px;
  }
}
.detail-server{
  display: -webkit-box;
  width: 100%;
  -webkit-box-sizing: border-box;
  font-size: 12px;

  span{
    -webkit-box-flex: 1;
    width: 100%;
    text-align: center;
    display: -webkit-box;
    -webkit-box-pack: center;
    -webkit-box-align: center;
  }
  .ui-icon-checked-s{
    &:before{
      color: #099fde;
    }
  }
}

.detail-box{
  background: #FFF;
  padding: 10px 0;
  margin-bottom: 10px;

  h3{
    padding-left: 10px;
    padding-bottom: 5px;
    margin-bottom: 10px;
  }
}
.detail-intro{
  padding: 0 10px;
  font-size: 14px;
  color: #333;
  h4{
    font-size: 14px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  ul{
    overflow: hidden;
    padding: 10px 0 0;
    li{
      display: -webkit-box;
      width: 100%;
      -webkit-box-sizing: border-box;
      &:first-child{
        padding-bottom: 10px;
      }
      p{
        padding-top: 13px;
      }
    }
  }
  .ui-icon-history{
    font-size: 22px;
    padding: 0 5px;
  }
}
.detail-comments{
  margin-bottom: 10px;
  .ui-icon-comment{
    font-size: 22px;
    padding: 0 5px;
  }
  .ui-list-text{
    li{
      padding-top: 0;
      padding-bottom: 0;
    }
  }
  a{
    color: #333;
    h4{
      line-height: 44px;
      font-weight: normal;
      strong{
        font-weight: normal;
      }
    }
  }
}
.ui-time{
  color: #999;
}
.detail-content{
  padding-bottom: 10px;
}
.topic-list{
  >li{
    a{
      display: block;
    }
  }
  .topic-img{
    margin-bottom: 10px;
  }
}

.img-nav-item{
  background: #FFF;
  li{
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    a{
      display: block;
      background-repeat: no-repeat;
      -webkit-background-size: cover;
      background-position: center;
      padding-top: 34.375%;

    }
    &:first-child{
      a{
        padding-top: 70%;
        border-right: 2px solid #FFF;
      }
    }
    &:nth-child(2){
      a{
        border-bottom: 2px solid #FFF;
      }
    }

  }
}

.ui-btn-row{
  padding: 6px 10px;
}
.list-video{

  .video-intro{
    font-size: 12px;
    padding: 5px 10px;
    background: #efefef;
  }
}
.detail-video{
  background: #FFF;
}
.rec-video{
  padding:10px 0;
  background: #fff;
  h2{
    padding: 0 10px 5px 10px;
    margin-bottom: 10px;
  }
}
.search-box{
  padding-top: 45px;
}

.login-box{
  padding: 75px 0 0;
  .login-form{
    border-radius: 4px;
    margin: 0 10px;
  }
  .reset-pwd{
    text-align: right;
    padding: 15px 20px 0;
    font-size: 14px;
  }
  .ui-icon-close{
    display: none;
  }
}
.user-main{
  padding-top: 45px;
}
.user-head{
  width: 100%;
  background: url(../img/uc_banner.jpg) no-repeat 50% 0;
  -webkit-background-size: 100% auto;
  background-size: 100% auto;
  position: relative;
  margin-bottom: 10px;
  padding-top: 31.25%;
  a{
    height: 94px;
    width: 94px;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -47px;
    margin-top: -47px;
    overflow: hidden;
    background: url(../img/u_hd.png) no-repeat center;
    -webkit-background-size: 100% auto;
    background-size: 100% auto;

  }
}
.uc-item{
  .ui-list{
    margin-bottom: 10px;
    li{
      a{
        color: #666;
      }
      span{
        display: inline-block;
        line-height: 44px;
        font-size: 14px;
        margin-left: 6px;
      }
      i{
        font-size: 26px;
      }
    }
  }
  
}
.quantity-box{
  position: absolute;
  right: 40px;
  top: 10px;
  width: 50px;
  line-height: 30px;

  a{
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    position: absolute;
    top: 1px;
    font-size: 22px;
    text-align: center;
    background: #f8f8f8;
    border: 1px solid #ccc;
    color: #333;
    text-indent: -9999px;

    &.quantity-subtract{
      left: -30px;
      border-radius: 4px 0 0 4px;
      border-right: none;
      &:before{
        content: ' ';
        background: #999;
        position: absolute;
        top: 50%;
        margin-top: -1px;
        left: 50%;
        margin-left: -5px;
        height: 2px;
        width: 10px;
      }
      &:hover{
        background: #dfdfdf;
        &:before,&:after{
          background: #333;
        }
      }
    }
    &.quantity-add{
      right: -30px;
      border-radius: 0 4px 4px 0;
      border-left: none;
      &:before{
        content: ' ';
        background: #999;
        position: absolute;
        top: 50%;
        margin-top: -5px;
        left: 50%;
        margin-left: -1px;
        height: 10px;
        width: 2px;
      }
      &:after{
        content: ' ';
        background: #999;
        position: absolute;
        top: 50%;
        margin-top: -1px;
        left: 50%;
        margin-left: -5px;
        height: 2px;
        width: 10px;
      }
      &:hover{
        background: #dfdfdf;
        &:before,&:after{
          background: #333;
        }
      }
    }
    &.disabled{
      cursor: default;
      &:before{
        background: #ccc;
      }
      &:hover{
        background: #FFF;
        &:before{
          background: #ccc;
        }
      }
    }
  }
  input{
    display: inline-block;
    height: 30px;
    width: 50px;
    text-align: center;
    outline: none;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 12px;
  }
}
.user-order{
  padding: 55px 10px 0;
  .ui-btn-row{
    padding: 6px 10px;
  }
}
.order-item{
  background: #fff;
  border-radius: 4px;
  margin-bottom: 10px;
  position: relative;
  padding: 10px 0;
  line-height: 32px;
  label{
    padding-left: 10px;
    font-size: 16px;
  }
  .ui-icon-close{
    display: none;
  }
}
.order-item-form{
  padding: 0;
  label{
    padding-left: 10px;
    font-size: 16px;
    float: left;
    line-height: 44px;
  }
  .ui-form-item{
    overflow: hidden;
    zoom: 1;
  }
}
.order-title{
  position: relative;
  h4{
    padding: 0 0 0 10px;
    margin-right: 60px;
  }
  span{
    position: absolute;
    top:0;
    right: 10px;
  }
}
.order-time{
  font-size: 14px;
  color: #999;
  padding: 0 10px;
}
.order-tips{
  padding: 0 10px;
  font-size: 14px;
  line-height: 20px;
}

.pay-way{
  background: #fff;
  border-radius: 4px;
  padding: 10px 0;
  h3{
    padding:0 10px 10px 10px;
  }
  .wx-pay{
    display: inline-block;
    height: 20px;
    width: 20px;
    background: url("../img/wx_icon.png") no-repeat center;
    -webkit-background-size: contain;
    background-size: contain;
    vertical-align: middle;
    margin-right: 10px;
    margin-top: -2px;
  }
  .zfb-pay{
    display: inline-block;
    height: 20px;
    width: 20px;
    background: url("../img/zhifubaozhifu.png") no-repeat center;
    -webkit-background-size: contain;
    background-size: contain;
    vertical-align: middle;
    margin-right: 10px;
    margin-top: -2px;
  }
}
.order-list{
  .inp-tips{
    background: #fff;
    border-radius: 4px 4px 0 0;
    padding: 10px 10px 0;
    font-size: 14px;
  }
}
.order-infor{
  background: #FFF;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 0 0 4px 4px;
  color: #666;
  font-size: 14px;

  li{
    overflow: hidden;
    padding: 10px 0;
    span{
      float: left;
      min-width: 70px;
      color: #999;
    }
    p{
      overflow: hidden;
      zoom: 1;
    }
  }
}
.hove-time{
  overflow: hidden;
  zoom: 1;
  line-height: 25px;
  padding:10px 0 10px 20px;
  strong{
    color: #999;
  }
}


.uc-order-item{
  border-radius: 4px;
  background: #FFF;
  padding: 10px 0;
  margin-bottom: 10px;

  .ui-list{
    >li{
      a{
        -webkit-box-orient: vertical;
        padding: 10px 0;
        color: #666;
        font-size: 12px;
      }
    }
    dl{
      -webkit-box-flex: 1;
      width: 100%;
      padding: 5px 0;
    }
    dt{
      float: left;
      color: #999;
      margin-right: 10px;
    }
    dd{
      overflow: hidden;
      zoom: 1;
      padding-right: 30px;
    }
  }
}
.uc-order-title{
  position: relative;
  padding:0 10px 10px;
  .order-state{
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 14px;
  }
}
.order-detail-box{
  background: #FFF;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  position: relative;
  h4{
    font-size: 14px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  &.last-box{
    margin-bottom: 70px;
  }
}
.order-detail-item{
  font-size: 12px;
  color: #666;
  padding: 5px 0;
  dt{
    float: left;
    margin-right: 10px;
    color: #999;
  }
  dd{
    overflow: hidden;
    zoom: 1;
  }
}
.order-state{
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 14px;
}
.order-detail-product{
  position: relative;
  padding-bottom: 10px;
  h3{
    font-size: 14px;
    margin-right: 30%;
  }
  p{
    position: absolute;
    right: 10px;
    top: 0;
    color: #999;
    font-size: 12px;
  }
}
.uc-infor{
  padding-top: 10px;
  .ui-list{
    >li{
      a{
        color: #666;
      }
    }
  }
  .uc-avatar{
    h4{
      line-height: 44px;
    }
  }
}
.uc-about{
  margin-top: 10px;
  background: #FFF;
  padding: 10px;
  font-size: 14px;
  color: #666;
  p{
    text-indent: 24px;
  }
}
.field-infor{
  padding-bottom: 0;
}
.field-box{
  padding: 0;
}
.comments-star{
  padding-left: 25px;
  .ui-icon-star{
    display: inline-block;
    margin-left:-20px;
  }
  span{
    display: inline-block;
    font-size: 14px;
    position: relative;
    top: -3px;
  }
  &.star-5{
    .ui-icon-star{
      color: $txt-warning;
    }
  }
  &.star-4{
    .ui-icon-star{
      &:nth-child(1),
      &:nth-child(2),
      &:nth-child(3),
      &:nth-child(4) {
        color: $txt-warning;
      }
    }
  }
  &.star-3{
    .ui-icon-star{
      &:nth-child(1),
      &:nth-child(2),
      &:nth-child(3){
        color: $txt-warning;
      }
    }
  }
  &.star-2{
    .ui-icon-star{
      &:nth-child(1),
      &:nth-child(2){
        color: $txt-warning;
      }
    }
  }
  &.star-1{
    .ui-icon-star{
      &:nth-child(1){
        color: $txt-warning;
      }
    }
  }
}
.field-intro{
  padding: 0 15px;
  font-size: 14px;
}
.field-menu{
  background: #FFF;
  margin-bottom: 10px;
  
  li{
    line-height: 40px;
    cursor: pointer;
    &.current{
      border-bottom: 2px solid #099fde;
    }
  }
}
.field-item{
  background: #FFF;
  -webkit-box-flex: 1;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  height: auto;
}
.field-detail{
  font-size: 14px;
  color: #666;
  padding: 10px;
  h4{
    padding:0 0 5px;
    margin-bottom: 10px;
  }
  p{
    line-height: 27px;
    margin-bottom: 10px;
  }
}
.comments-num{
  font-size: 14px;
  padding: 10px 10px 5px;
  margin-bottom: 10px;
}
.comments-conts{
  .ui-list{
    >li{
      position: relative;
    }
  }
  .comments-star{
    position: absolute;
    top: -5px;
    right: 10px;
  }
}
.comments-tags{
  a{
    color: #777;
    font-size: 14px;
    em{
      color: #666;
    }
  }
}
.more-bar{
  text-align: center;
  font-size: 16px;
  a{
    color: #666;
  }
  .ui-icon-more{
    display: inline-block;
    font-size: 22px;
  }
}
.detail-box-title{
  >li{
    h4{
      font-size: 16px;
      color: #333;
    }
  }
}
.comments-containner{
  margin-top: 55px;
  background: #FFF;
}
.user-comment{
  margin-top: 45px;
  background: #FFF;

}


.user-comment-item{
  font-size: 14px;
  .label{
    display: block;
    padding: 10px;
    background: #F0F0F0;
    color: #666;
  }
  .textarea {
    height: 150px;
    width: 100%;
    resize: none;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    background: none;
    padding: 15px 10px;
    color: #333;
  }
}

.uc-edit{
  padding: 10px 0 0;
  .ui-icon-close{
    display: none;
  }
}
/* star */

#star {
  position: relative;
  width: 100%;
  margin: 20px auto;
  height: 24px;
  line-height: 22px;

  ul,span {
    float: left;
    display: inline;
    color: #666;
  }
  ul{
    margin: 0 10px;
  }
  li {
    float: left;
    width: 24px;
    cursor: pointer;
    text-indent: -9999px;
    background: url(../../img/star.png) no-repeat;
    margin-right: 3px;
    &.on {
      background-position: 0 -28px;
    }
  }
  strong {
    color: #f60;
    padding-left: 10px;
  }

}


